import { defineCustomElement } from 'vue'
import hInput from './index.ce.vue'
export const hInputComponent = defineCustomElement(hInput)

// Register the custom element so that it can be used as <h-input-component>.
// custom element 的名称不能是单个单词，且其中必须要有短横线
export function registerhInput (tagName = 'h-input-component') {
    customElements.define(tagName, hInputComponent)
}

window.registerhInput = registerhInput